<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let arr1 = [1, 3, 4, 9, 10, 2, 7, 5]
        arr1.forEach(function (item) {
            console.log(item)
        })
        
        let arr2 = arr1.map(function (item) {
            return item + 10;
        })
        console.log(arr2)

        let arr3 = arr1.filter(function (item) {
            return item > 5;
        })
        console.log(arr3)

        let arr4 = arr1.some(function (item) {
            return item > 5;
        })
        console.log(arr4)

        let arr5 = arr1.every(function (item) {
            return item > 5;
        })
        console.log(arr5)

        let arr6 = arr1.reduce(function (prev, cur) {
            return prev + cur;
        },0)
        console.log(arr6)

        let arr7 = arr1.find(function (i) {
            return i > 5;
        })
        console.log(arr7)
    </script>
</body>
</html>